<% stylesheet 'foreman_tasks/foreman_tasks' %>
<% content_for(:javascripts) do %>
  <%= webpacked_plugins_js_for :'foreman-tasks' %>
<% end %>
<% content_for(:stylesheets) do %>
  <%= webpacked_plugins_css_for :'foreman-tasks' %>
<% end %>

<% title _("Details of %s task") % @task.to_s %>

<%= breadcrumbs(
  items: breadcrumb_items,
  name_field: 'action',
  resource_url: foreman_tasks_api_tasks_path,
  switcher_item_url: foreman_tasks_task_path(:id => ':id')
) %>

<%= react_component('TaskDetails')  %>
